﻿/* Write a program to convert decimal numbers to their binary representation. */

using System;

class Program
{
    static void Main()
    {
        int number = Int32.Parse(Console.ReadLine());
        int remainder;
        string binary_n = null;
        do
        {
            remainder = number % 2;
            number /= 2;
            binary_n = remainder + binary_n;
        } while (number != 0);
        binary_n=  binary_n.Replace("-", "");
        Console.WriteLine(binary_n.PadLeft(32, '0'));
    }
}
